[INFO] cloning repository https://github.com/crabfishxy/talent-plan-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crabfishxy/talent-plan-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrabfishxy%2Ftalent-plan-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrabfishxy%2Ftalent-plan-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4026deec80ec8eab98717572c049cdd187837cae
[INFO] building crabfishxy/talent-plan-rust against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrabfishxy%2Ftalent-plan-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/crabfishxy/talent-plan-rust on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/crabfishxy/talent-plan-rust
[INFO] finished tweaking git repo https://github.com/crabfishxy/talent-plan-rust
[INFO] tweaked toml for git repo https://github.com/crabfishxy/talent-plan-rust written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/crabfishxy/talent-plan-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2acffed88c1c81acf99f4b1fbd34b7339166c429521d8c8248b0c01964e6348f
[INFO] running `Command { std: "docker" "start" "-a" "2acffed88c1c81acf99f4b1fbd34b7339166c429521d8c8248b0c01964e6348f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2acffed88c1c81acf99f4b1fbd34b7339166c429521d8c8248b0c01964e6348f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2acffed88c1c81acf99f4b1fbd34b7339166c429521d8c8248b0c01964e6348f", kill_on_drop: false }`
[INFO] [stdout] 2acffed88c1c81acf99f4b1fbd34b7339166c429521d8c8248b0c01964e6348f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d15905151dab2c92ef7d447aba5a737fc2850a9058f751517722c0c23d117a8f
[INFO] running `Command { std: "docker" "start" "-a" "d15905151dab2c92ef7d447aba5a737fc2850a9058f751517722c0c23d117a8f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling anyhow v1.0.42
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling yaml-rust v0.3.5
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling kvs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `BufWriterWithPos` in this scope
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     writer: BufWriterWithPos<File>,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `BufReaderWithPos`
[INFO] [stdout] ...
[INFO] [stdout] 44 | struct BufReaderWithPos<R: Read+Seek> {
[INFO] [stdout]    | ------------------------------------- similarly named struct `BufReaderWithPos` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufWriter`
[INFO] [stdout]  --> src/lib.rs:2:73
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{collections::HashMap, fs::{self, File}, io::{self, BufReader, BufWriter, Read, Seek, SeekFrom}, path::PathBuf};
[INFO] [stdout]   |                                                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:24:43
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get(&mut self, key: String) -> Result<Option<String>> {
[INFO] [stdout]    |            ---                            ^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Option<String>, anyhow::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:27:56
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn set(&mut self, key: String, val: String) -> Result<()> {
[INFO] [stdout]    |            ---                                         ^^^^^^^^^^ expected enum `Result`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), anyhow::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `map` on type `&mut KvStore`
[INFO] [stdout]   --> src/lib.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |         self.map.remove(&key);
[INFO] [stdout]    |              ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `index`, `reader_map`, `writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:36:46
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn open(path: impl Into<PathBuf>) -> Result<KvStore> {
[INFO] [stdout]    |            ----                              ^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<KvStore, anyhow::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kvs` due to 6 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d15905151dab2c92ef7d447aba5a737fc2850a9058f751517722c0c23d117a8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d15905151dab2c92ef7d447aba5a737fc2850a9058f751517722c0c23d117a8f", kill_on_drop: false }`
[INFO] [stdout] d15905151dab2c92ef7d447aba5a737fc2850a9058f751517722c0c23d117a8f
